package com.user.modal;
/**
 * Project			:myws
 * JDK version		:jdk1.6.0
 * Version          :1.0
 * Date             :2012-6-26
 * Author		    :陶尚明
 * Comments         :用户实体类
 */
public class User {
	/**
	 * 用户id
	 */
	private Integer id;
	
	/**
	 * 用户名
	 */
	private String username;
	
	/**
	 * 密码
	 */
	private String password;
	
	/**
	 * 登录状态
	 */
	private Integer loginstat;
	
	/**
	 * 角色id
	 */
	private Integer roleid;

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the loginstat
	 */
	public Integer getLoginstat() {
		return loginstat;
	}

	/**
	 * @param loginstat the loginstat to set
	 */
	public void setLoginstat(Integer loginstat) {
		this.loginstat = loginstat;
	}

	/**
	 * @return the roleid
	 */
	public Integer getRoleid() {
		return roleid;
	}

	/**
	 * @param roleid the roleid to set
	 */
	public void setRoleid(Integer roleid) {
		this.roleid = roleid;
	}

	
	
	
}
